﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Weblications.Sango.Constant
{
    class BattleActionItemTypecodeCollection
    {
        /// <summary>
        /// 攻击成功
        /// </summary>
        public const int ATTACK_SUCCEED = 1;

        /// <summary>
        /// 攻击MISS
        /// </summary>
        public const int ATTACK_MISS = 2;

        /// <summary>
        /// 攻击反弹
        /// </summary>
        public const int ATTACK_COUNTER = 3;

        internal static object getComment(int typecode)
        {
            switch (typecode)
            {
                case ATTACK_SUCCEED:
                    return "攻击成功";

                case ATTACK_MISS:
                    return "攻击MISS";

                case ATTACK_COUNTER:
                    return "攻击反弹";

                default:
                    return "无";
            }
        }
    }
}
